#! /bin/sh
#
# jenkins-start-install.sh
# Copyright (C) 2018 admin <admin@AdmindeMacBook-Air.local>
#
# Distributed under terms of the MIT license.
#
basepath=$(cd `dirname $0`; pwd)

echo 'export JENKINS_START_BASH='$basepath>>/etc/profile
echo 'export PATH=$PATH:$JENKINS_START_BASH' >>/etc/profile
source /etc/profile
echo '设置环境变量成功，路径为:'$JENKINS_START_BASH
